package com.exm.collectcodenew.multiThreadScena1;

public class Cat {
    public String getCatName() {
        return catName;
    }

    private String catName;

    @Override
    public String toString() {
        return "Cat{" +
                "catName='" + catName + '\'' +
                '}';
    }

    public Cat setCatName(String name) {
        this.catName = name;
        return this;
    }
}
